home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Hacker 2003
/
Power_Hacker_2003.iso
/
Exploit and vulnerability
/
w00w00
/
sectools
/
SRS
/
server
/
scripts
/
test-srs.sh
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Linux/UNIX/POSIX Shell Script
|
2000-01-12
|
201 b
|
11 lines
#!/bin/sh
output=`ps -auxw | grep "server" | grep -v "grep"`
if [ -z "$output" ]
then
echo "Had to restart SRS at `date`" | mail -s "SRS restart" SRS@repsec.com &
/root/SRS/server/src/server
fi